class EventRssfeedController {

    def feed = {
        render(feedType:"rss", feedVersion:"2.0")
        {
          title = "OssEventManager Event Feed"
          link = "http://localhost:8080/eventManager/rss"
          description = "Ossevent Manager event feed"
          Event.list().each()
                 { ev ->
                      entry(ev.name) {
                      title = "${ev.name}"
                      link = "http:/localhost:8080/eventManager/event/detail/${ev.id}"   
                      ev.description // return the content
      }
    }
  }
  }
}
